home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Undocumented File Formats
/
Windows Undocumented File Formats.img
/
CHAP1
/
SETVAL
/
MAKEFILE.MS
< prev
next >
Wrap
Text File
|
1997-07-21
|
789b
|
27 lines
############################################################
#
# Makefile for setval.c using the Microsoft compiler/linker
# Chap. 1, Undocumented Windows File Formats, published by
# R&D Books, an imprint of Miller Freeman, Inc.
#
# Copyright 1997, Mike Wallace and Pete Davis
#
# Environment variable requirements:
#
# 1) 'cl' and 'link' must be in your path
# 2) INCLUDE and LIB = paths to inc/ and lib/ subdirectories
# under the compiler's directory
#
# Compile the program with: nmake /f makefile.ms
#
############################################################
PROG = SETVAL
$(PROG).EXE: $(PROG).OBJ
link /nologo $(PROG),,$(PROG)/li/CO,mlibce,,
$(PROG).OBJ: $(PROG).C
cl /nologo /W4 /AM /Zdpei /Od /c $(PROG).C